package  
{
  import com.bit101.components.Label;
  import flash.display.Sprite;
  import flash.text.TextFormatAlign;
	/**
   * ...
   * @author ivan
   */
  public class PlayerResult extends Sprite
  {
    
    public function PlayerResult() 
    {
      positionLabel = new Label(this, 0, 0);
      wordLabel = new Label(this, 30, 0);
    }
    
    public function set enabled(val:Boolean):void
    {
      positionLabel.enabled = wordLabel.enabled = val;
    }
    
    public function set position(val:int):void
    {
      _position = val;
      positionLabel.text = _position.toString() + ".-";
    }
    
    public var _position:int;
    private var positionLabel:Label;
    
    public function get word():String { return _word; }
    public function set word(val:String):void
    {
      _word = val;
      wordLabel.text = _word;
    }
    
    public var _word:String;
    private var wordLabel:Label;
    
    public var wordList:Vector.<String>;
    
    public var letters:Vector.<String>;
    
  }

}